package alingrad.engine.graphics;

import javax.microedition.khronos.opengles.GL10;

import alingrad.engine.util.GLColor;

public abstract class Renderable {

	public void load() {
	}

	public final void draw(GL10 gl, final float x, final float y, final GLColor color) {
		draw(gl, x, y, 0, 1f, 1f, color);
	}

	public final void draw(GL10 gl, final float x, final float y, final float rotation, final GLColor color) {
		draw(gl, x, y, rotation, 1f, 1f, color);
	}

	public abstract void draw(GL10 gl, final float x, final float y, final float rotation, final float scaleX, final float scaleY, final GLColor color);

}
